   
      <?php
	$result ="SELECT * FROM tt_marca ;";
	$res = $mysqli->query($result);
	if ($res) {
	while($row = $res->fetch_assoc()) {
	?>
	<option value=  <?php echo (trim($row["MarcaID"])) ?> > <?php echo ($row["MarcaTxt"]) ?></option>
	<?php 	}
	$res->close();
	$mysqli->check_result();
} 
?>